<?php
/*
 * Created on 08/07/2009
 *
 *	Authors: Zamna Team ( Correa Delval, Manuel			)
 *						( Jose Garcia, Adan. 			)
 *						( Mendoza Noriega, Francisco.	)
 *						( Noriega Carrasco, Evert. 		)
 *						( Ponce Angulo, Viridiana.		)
 *
 *
 * To change the template for this generated file go to
 * Window - Preferences - PHPeclipse - PHP - Code Templates
 * 
 * 
 */
 	class Answer{
 		private $rank;
 		private $correct;
 		private $data;
 		
 		function __construct($_data,$_correct,$_rank){
 			$this ->data=$_data;
 			$this ->correct=$_correct;
 			$this ->rank=$_rank;
 		}
 		
 		function getRank(){
 			return $this ->rank;
 		}
 		function setRank($_rank){
 			$this ->rank = $_rank;	 
 		}
 		
 		function isCorrect(){
 			return $this ->correct;
 		}
 		function getData(){
 			return $this ->data;
 		}
 	}
?>
